package com.ysu.his.entity.statistics;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ysu.his.base.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 医生、科室工作量统计实体类
 */
@Data
public class WorkloadStatistics extends BaseEntity
{
    //唯一标识
    private Long id;

    //医生id
    private Long doctorId;

    //科室
    private String department;

    //挂号人数
    private Integer registrationCount;

    //开药量
    private Integer prescriptionCount;

    //总收入
    private Double totalRevenue;

    //统计日期
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date date;

}
